package com.wanjia.bpsapi.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.wanjia.bpsapi.pojo.dto.VegeName;
import com.wanjia.bpsapi.pojo.entity.Vegetable;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * <p>
 * 菜品表 Mapper 接口
 * </p>
 *
 * @author wyn
 * @since 2023-02-13
 */
@Repository
public interface VegetableMapper extends BaseMapper<Vegetable> {

    List<VegeName> getVegeNames();

    int addVegetable(Integer id, String storeName);

    int updateVegetable(Integer id, String storeName);

    List<Long> selectIdList();
}
